package com.wen.task.customTask;

import cn.hutool.core.io.FileUtil;
import com.wen.moudle.Account;
import com.wen.task.AbstractTask;

import java.nio.charset.StandardCharsets;
import java.util.List;


// 为其他功能提供帮助--貌似不太需要
public class HelpTask extends AbstractTask {
    public HelpTask(Account account) {
        super(account);
    }

    @Override
    public void run() {
        List<String> list = FileUtil.readLines(HelpTask.class.getResource("/update.txt"), StandardCharsets.UTF_8);



        list.forEach(System.out::println);
    }

    @Override
    public String getTitle() {
        return "更新说明";
    }
}